package com.lais.record.user.constant;

import lombok.Getter;

/**
 * @Author: luowen
 * @Description: 用户枚举
 * @Date: Create in 15:44 2019/11/30
 */
@Getter
public enum UserEnum {
    LOGIN_SUCCESS("20000","登录成功"),


    CODE_NOT_MATCH("42000","验证码不正确"),
    PHONE_NOT_EXIST("42001","手机号不存在"),
    USER_CLOCKED("42002","用户被锁定，请明天再次登录"),
    CODE_NOT_EXIST("42003","验证码不能为空"),


    ;

    UserEnum(String code ,String message){
        this.code = code ;
        this.message = message;
    }

    private String code;

    private String message;

}
